Change in openvpn[master]: Explicit-exit-notify and multisocket interaction
A message that is not in the archive (sent off-list or not yet received): gerrit.1742977449000.Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc@...2715...
Attention is currently required from: flichtenheld, plaisthos.
Hello plaisthos, flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
to review the following change.
Change subject: Explicit-exit-notify and multisocket interaction
......................................................................
Explicit-exit-notify and multisocket interaction
Check signals after timeout handling to avoid
unusual delay when using explicit-exit-notify.
Github: #702
---
M src/openvpn/multi.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/17/917/1
src/openvpn/multi.c +1 -1
@@ -4265,13 +4265,13 @@ {/* process the I/O which triggered select */ multi_io_process_io (multi); -MULTI_CHECK_SIG (multi); } else if (status == 0) {multi_io_action (multi,NULL ,TA_TIMEOUT , false); } +MULTI_CHECK_SIG (multi);perf_pop (); } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc
Gerrit-Change-Number: 917
Gerrit-PatchSet: 1
Gerrit-Owner: its_Giaan <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: flichtenheld, plaisthos.
cron2 has uploaded a new patch set (#2) to the change originally created by its_Giaan. ( http://gerrit.openvpn.net/c/openvpn/+/917?usp=email )
Change subject: Explicit-exit-notify and multisocket interaction
......................................................................
Explicit-exit-notify and multisocket interaction
Check signals after timeout handling to avoid
unusual delay when using explicit-exit-notify.
Github: fixes OpenVPN/openvpn#702
---
M src/openvpn/multi.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/17/917/2
src/openvpn/multi.c +1 -1
@@ -4265,13 +4265,13 @@ {/* process the I/O which triggered select */ multi_io_process_io (multi); -MULTI_CHECK_SIG (multi); } else if (status == 0) {multi_io_action (multi,NULL ,TA_TIMEOUT , false); } +MULTI_CHECK_SIG (multi);perf_pop (); } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc
Gerrit-Change-Number: 917
Gerrit-PatchSet: 2
Gerrit-Owner: its_Giaan <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newpatchset
Attention is currently required from: flichtenheld, its_Giaan, plaisthos.
cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/917?usp=email )
Change subject: Explicit-exit-notify and multisocket interaction
......................................................................
Patch Set 2: Code-Review+2
(1 comment)
Patchset:
PS2:
tested, works, some more comment on timing and comparing to 2.6 in https://github.com/OpenVPN/openvpn/issues/702
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc
Gerrit-Change-Number: 917
Gerrit-PatchSet: 2
Gerrit-Owner: its_Giaan <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: its_Giaan <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Sun, 18 May 2025 17:23:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH v2 1/1 Explicit-exit-notify and multisocket interaction
In reply to a message not in the archiveFrom: Gianmarco De Gregori <[email protected]...>
Check signals after timeout handling to avoid
unusual delay when using explicit-exit-notify.
Github: fixes OpenVPN/openvpn#702
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/917
This mail reflects revision 2 of this Change.
Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>
src/openvpn/multi.c +1 -1
@@ -4265,13 +4265,13 @@ {/* process the I/O which triggered select */ multi_io_process_io (multi); -MULTI_CHECK_SIG (multi); } else if (status == 0) {multi_io_action (multi,NULL ,TA_TIMEOUT , false); } +MULTI_CHECK_SIG (multi);perf_pop (); } }
[Openvpn-devel] [PATCH applied] Re: Explicit-exit-notify and multisocket interaction
Does the job :-) - back to 2.6 level wrt "ctrl-c and EEN".
The whole event loop looks a bit unsatisfying, though, with checking the signals twice in such a short loop... but I guess this needs much deeper digging.
Your patch has been applied to the master branch.
commit 565d7cf48120d4394258fc3f2aa1b710315cd4e9
Author: Gianmarco De Gregori Date: Sun May 18 19:23:23 2025 +0200
Explicit-exit-notify and multisocket interaction
Signed-off-by: Gianmarco De Gregori <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31688.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#3) to the change originally created by its_Giaan. ( http://gerrit.openvpn.net/c/openvpn/+/917?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by cron2
Change subject: Explicit-exit-notify and multisocket interaction
......................................................................
Explicit-exit-notify and multisocket interaction
Check signals after timeout handling to avoid
unusual delay when using explicit-exit-notify.
Github: fixes OpenVPN/openvpn#702
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31688.html
---
M src/openvpn/multi.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/17/917/3
src/openvpn/multi.c +1 -1
@@ -4271,13 +4271,13 @@ {/* process the I/O which triggered select */ multi_io_process_io (multi); -MULTI_CHECK_SIG (multi); } else if (status == 0) {multi_io_action (multi,NULL ,TA_TIMEOUT , false); } +MULTI_CHECK_SIG (multi);perf_pop (); } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc
Gerrit-Change-Number: 917
Gerrit-PatchSet: 3
Gerrit-Owner: its_Giaan <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/917?usp=email )
Change subject: Explicit-exit-notify and multisocket interaction
......................................................................
Explicit-exit-notify and multisocket interaction
Check signals after timeout handling to avoid
unusual delay when using explicit-exit-notify.
Github: fixes OpenVPN/openvpn#702
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31688.html
---
M src/openvpn/multi.c
1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/multi.c +1 -1
@@ -4271,13 +4271,13 @@ {/* process the I/O which triggered select */ multi_io_process_io (multi); -MULTI_CHECK_SIG (multi); } else if (status == 0) {multi_io_action (multi,NULL ,TA_TIMEOUT , false); } +MULTI_CHECK_SIG (multi);perf_pop (); } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/917?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id9dbb4d3c550bd4c13f6ee97e67749686457d9fc
Gerrit-Change-Number: 917
Gerrit-PatchSet: 3
Gerrit-Owner: its_Giaan <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged